package org.jeecg.modules.medicine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 药品信息表
 * @Author: jeecg-boot
 * @Date:   2019-12-26
 * @Version: V1.0
 */
@Data
@TableName("medicine")
public class Medicine implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
	/**创建日期*/
	@Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    private java.lang.String updateBy;
	/**更新日期*/
	@Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    private java.lang.String sysOrgCode;
	/**药品编号 */
	@Excel(name = "药品编号 ", width = 15)
    private java.lang.String mid;
	/**药品名称*/
	@Excel(name = "药品名称", width = 15)
    private java.lang.String mname;
	/**药品建成*/
	@Excel(name = "药品建成", width = 15)
    private java.lang.String mshortname;
	/**规格*/
	@Excel(name = "规格", width = 15)
    private java.lang.String mnors;
	/**药品产地*/
	@Excel(name = "药品产地", width = 15)
    private java.lang.String marea;
	/**批号*/
	@Excel(name = "批号", width = 15)
    private java.lang.String mlot;
	/**进价*/
	@Excel(name = "进价", width = 15)
    private java.lang.Double minpri;
	/**批发价*/
	@Excel(name = "批发价", width = 15)
    private java.lang.Double mwpri;
	/**零售价*/
	@Excel(name = "零售价", width = 15)
    private java.lang.Double mpri;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    private java.lang.String mcon;
	/**类别*/
	@Excel(name = "类别", width = 15)
    private java.lang.String mcate;
	/**有效期*/
	@Excel(name = "有效期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date musetime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    private java.lang.String memo;
}
